<?php
class Ordermanager_Data_Getorderdata implements Ordermanager_Data_Mainable{
    
    private $core_controller_selectdata;
    
    public function __construct(array $variables = null){
        $this->core_controller_selectdata = new Core_Controller_Selectdata;
    }


    public function main(array $variables = null){
        $variables['query'] = "SELECT id, url, version, email, name, company_name, vat_number, other_info, company_location, vat_payer, order_date, status_name FROM orders WHERE id='".$variables['get']['name']."'";
        return $this->core_controller_selectdata->main($variables);
    }
}
